<div class="modells view">
<h2><?php echo __('Modell'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($modell['Modell']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Image Url'); ?></dt>
		<dd>
			<?php echo h($modell['Modell']['image_url']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Is Active'); ?></dt>
		<dd>
			<?php echo h($modell['Modell']['is_active']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Price'); ?></dt>
		<dd>
			<?php echo h($modell['Modell']['price']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Discount'); ?></dt>
		<dd>
			<?php echo h($modell['Modell']['discount']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Retail Price'); ?></dt>
		<dd>
			<?php echo h($modell['Modell']['retail_price']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Warranty Month'); ?></dt>
		<dd>
			<?php echo h($modell['Modell']['warranty_month']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Mobile Base'); ?></dt>
		<dd>
			<?php echo $this->Html->link($modell['MobileBase']['id'], array('controller' => 'mobile_bases', 'action' => 'view', $modell['MobileBase']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Mobile Name'); ?></dt>
		<dd>
			<?php echo h($modell['Modell']['mobile_name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Mobile Dimension'); ?></dt>
		<dd>
			<?php echo h($modell['Modell']['mobile_dimension']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Mobile Weight'); ?></dt>
		<dd>
			<?php echo h($modell['Modell']['mobile_weight']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Modell'), array('action' => 'edit', $modell['Modell']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Modell'), array('action' => 'delete', $modell['Modell']['id']), array(), __('Are you sure you want to delete # %s?', $modell['Modell']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Modells'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Modell'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Mobile Bases'), array('controller' => 'mobile_bases', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Mobile Base'), array('controller' => 'mobile_bases', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Mobile Details'), array('controller' => 'mobile_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Mobile Detail'), array('controller' => 'mobile_details', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Modell Colors'), array('controller' => 'modell_colors', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Modell Color'), array('controller' => 'modell_colors', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Purchase Details'), array('controller' => 'purchase_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Purchase Detail'), array('controller' => 'purchase_details', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sales Details'), array('controller' => 'sales_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sales Detail'), array('controller' => 'sales_details', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Mobile Details'); ?></h3>
	<?php if (!empty($modell['MobileDetail'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Modell Id'); ?></th>
		<th><?php echo __('Screen Type Id'); ?></th>
		<th><?php echo __('Screen Color Count'); ?></th>
		<th><?php echo __('Screen Standard Id'); ?></th>
		<th><?php echo __('Screen Resolution Id'); ?></th>
		<th><?php echo __('Screen Size Id'); ?></th>
		<th><?php echo __('Touch Description'); ?></th>
		<th><?php echo __('Camera Feature'); ?></th>
		<th><?php echo __('Cpu Speed'); ?></th>
		<th><?php echo __('Chipset Id'); ?></th>
		<th><?php echo __('Gp Id'); ?></th>
		<th><?php echo __('Ram'); ?></th>
		<th><?php echo __('Internal Storage'); ?></th>
		<th><?php echo __('Storage Up To'); ?></th>
		<th><?php echo __('Card Slot Type Id'); ?></th>
		<th><?php echo __('Battery Type Id'); ?></th>
		<th><?php echo __('Battery Capacity'); ?></th>
		<th><?php echo __('Battery Removable'); ?></th>
		<th><?php echo __('Sim Count'); ?></th>
		<th><?php echo __('Three Description'); ?></th>
		<th><?php echo __('Four Description'); ?></th>
		<th><?php echo __('Gps Description'); ?></th>
		<th><?php echo __('Bluetooth Description'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($modell['MobileDetail'] as $mobileDetail): ?>
		<tr>
			<td><?php echo $mobileDetail['id']; ?></td>
			<td><?php echo $mobileDetail['modell_id']; ?></td>
			<td><?php echo $mobileDetail['screen_type_id']; ?></td>
			<td><?php echo $mobileDetail['screen_color_count']; ?></td>
			<td><?php echo $mobileDetail['screen_standard_id']; ?></td>
			<td><?php echo $mobileDetail['screen_resolution_id']; ?></td>
			<td><?php echo $mobileDetail['screen_size_id']; ?></td>
			<td><?php echo $mobileDetail['touch_description']; ?></td>
			<td><?php echo $mobileDetail['camera_feature']; ?></td>
			<td><?php echo $mobileDetail['cpu_speed']; ?></td>
			<td><?php echo $mobileDetail['chipset_id']; ?></td>
			<td><?php echo $mobileDetail['gp_id']; ?></td>
			<td><?php echo $mobileDetail['ram']; ?></td>
			<td><?php echo $mobileDetail['internal_storage']; ?></td>
			<td><?php echo $mobileDetail['storage_up_to']; ?></td>
			<td><?php echo $mobileDetail['card_slot_type_id']; ?></td>
			<td><?php echo $mobileDetail['battery_type_id']; ?></td>
			<td><?php echo $mobileDetail['battery_capacity']; ?></td>
			<td><?php echo $mobileDetail['battery_removable']; ?></td>
			<td><?php echo $mobileDetail['sim_count']; ?></td>
			<td><?php echo $mobileDetail['three_description']; ?></td>
			<td><?php echo $mobileDetail['four_description']; ?></td>
			<td><?php echo $mobileDetail['gps_description']; ?></td>
			<td><?php echo $mobileDetail['bluetooth_description']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'mobile_details', 'action' => 'view', $mobileDetail['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'mobile_details', 'action' => 'edit', $mobileDetail['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'mobile_details', 'action' => 'delete', $mobileDetail['id']), array(), __('Are you sure you want to delete # %s?', $mobileDetail['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Mobile Detail'), array('controller' => 'mobile_details', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Modell Colors'); ?></h3>
	<?php if (!empty($modell['ModellColor'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Modell Id'); ?></th>
		<th><?php echo __('Color Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($modell['ModellColor'] as $modellColor): ?>
		<tr>
			<td><?php echo $modellColor['id']; ?></td>
			<td><?php echo $modellColor['modell_id']; ?></td>
			<td><?php echo $modellColor['color_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'modell_colors', 'action' => 'view', $modellColor['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'modell_colors', 'action' => 'edit', $modellColor['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'modell_colors', 'action' => 'delete', $modellColor['id']), array(), __('Are you sure you want to delete # %s?', $modellColor['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Modell Color'), array('controller' => 'modell_colors', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Products'); ?></h3>
	<?php if (!empty($modell['Product'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Warehouse Id'); ?></th>
		<th><?php echo __('Purchase Detail Id'); ?></th>
		<th><?php echo __('Sales Detail Id'); ?></th>
		<th><?php echo __('Modell Id'); ?></th>
		<th><?php echo __('Serial Number'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($modell['Product'] as $product): ?>
		<tr>
			<td><?php echo $product['id']; ?></td>
			<td><?php echo $product['warehouse_id']; ?></td>
			<td><?php echo $product['purchase_detail_id']; ?></td>
			<td><?php echo $product['sales_detail_id']; ?></td>
			<td><?php echo $product['modell_id']; ?></td>
			<td><?php echo $product['serial_number']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'products', 'action' => 'view', $product['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'products', 'action' => 'edit', $product['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'products', 'action' => 'delete', $product['id']), array(), __('Are you sure you want to delete # %s?', $product['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Purchase Details'); ?></h3>
	<?php if (!empty($modell['PurchaseDetail'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Purchase Id'); ?></th>
		<th><?php echo __('Modell Id'); ?></th>
		<th><?php echo __('Quantity'); ?></th>
		<th><?php echo __('Price'); ?></th>
		<th><?php echo __('Total'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($modell['PurchaseDetail'] as $purchaseDetail): ?>
		<tr>
			<td><?php echo $purchaseDetail['id']; ?></td>
			<td><?php echo $purchaseDetail['purchase_id']; ?></td>
			<td><?php echo $purchaseDetail['modell_id']; ?></td>
			<td><?php echo $purchaseDetail['quantity']; ?></td>
			<td><?php echo $purchaseDetail['price']; ?></td>
			<td><?php echo $purchaseDetail['total']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'purchase_details', 'action' => 'view', $purchaseDetail['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'purchase_details', 'action' => 'edit', $purchaseDetail['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'purchase_details', 'action' => 'delete', $purchaseDetail['id']), array(), __('Are you sure you want to delete # %s?', $purchaseDetail['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Purchase Detail'), array('controller' => 'purchase_details', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Sales Details'); ?></h3>
	<?php if (!empty($modell['SalesDetail'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Sales Id'); ?></th>
		<th><?php echo __('Modell Id'); ?></th>
		<th><?php echo __('Quantity'); ?></th>
		<th><?php echo __('Price'); ?></th>
		<th><?php echo __('Discount For Item'); ?></th>
		<th><?php echo __('Retail Price'); ?></th>
		<th><?php echo __('Total'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($modell['SalesDetail'] as $salesDetail): ?>
		<tr>
			<td><?php echo $salesDetail['id']; ?></td>
			<td><?php echo $salesDetail['sales_id']; ?></td>
			<td><?php echo $salesDetail['modell_id']; ?></td>
			<td><?php echo $salesDetail['quantity']; ?></td>
			<td><?php echo $salesDetail['price']; ?></td>
			<td><?php echo $salesDetail['discount_for_item']; ?></td>
			<td><?php echo $salesDetail['retail_price']; ?></td>
			<td><?php echo $salesDetail['total']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'sales_details', 'action' => 'view', $salesDetail['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'sales_details', 'action' => 'edit', $salesDetail['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'sales_details', 'action' => 'delete', $salesDetail['id']), array(), __('Are you sure you want to delete # %s?', $salesDetail['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Sales Detail'), array('controller' => 'sales_details', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
